package hong.jun.pet_home.service.org.impl;


import hong.jun.basic.base.service.impl.BaseServiceImpl;
import hong.jun.pet_home.domain.org.Department;
import hong.jun.pet_home.mapper.DepartmentMapper;
import hong.jun.pet_home.service.org.IDepartmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DepartmentServiceImpl extends BaseServiceImpl<Department> implements IDepartmentService {
    @Autowired
    private DepartmentMapper mapper;

    @Override
    public List<Department> departmentpars() {
        return mapper.loadAll();
    }
}
